
	<aside class="main-sidebar">

    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">

      <!-- Sidebar user panel (optional) -->
      <div class="user-panel">
        <div class="pull-left image">
          <img src="<?php echo $this->input->cookie('userimg');?>" class="img-circle" alt="User Image">
        </div>
        <div class="pull-left info">
          <p><a href="<?php echo site_url('admin/profile'); ?>" title="个人中心"><?php echo $this->session->name; ?></a></p>
          <!-- Status -->
          <span><i class="fa fa-circle text-success"></i> Online</span>
        </div>
      </div>

      <!-- search form (Optional) -->
      <form action="#" method="get" class="sidebar-form">
        <div class="input-group">
          <input type="text" name="q" class="form-control" placeholder="Search...">
              <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                </button>
              </span>
        </div>
      </form>
      <!-- /.search form -->

      <!-- Sidebar Menu -->
      <ul class="sidebar-menu">
        <li class="header">导航列表</li>
        <!-- Optionally, you can add icons to the links -->
        <li class="treeview <?php echo isset($siderid)&&$siderid==1?'active':'';?>">
			<a href="#"><i class="fa fa-gear"></i> <span>系统设置</span>
				<span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
			</a>
			<ul class="treeview-menu">
            <li><a href="<?php echo site_url('admin/sysinfo'); ?>"><i class="fa fa-circle-o"></i> 网站设置</a></li>
            <li><a href="<?php echo site_url('article/artlist'); ?>"><i class="fa fa-circle-o"></i> 发送通知</a></li>
			 <li><a href="<?php echo site_url('article/art_form'); ?>"><i class="fa fa-circle-o"></i> 数据库备份</a></li>
			<li><a href="<?php echo site_url('article/searchartform'); ?>"><i class="fa fa-circle-o"></i> 查找文章</a></li>
          </ul>
		</li>

        <li class="treeview <?php echo isset($siderid)&&$siderid==2?'active':'';?>">
          <a href="#"><i class="fa fa-clone"></i> <span>文章分类</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="<?php echo site_url('article/cate'); ?>"><i class="fa fa-circle-o"></i> 分类设置</a></li>
            <li><a href="<?php echo site_url('article/artlist'); ?>"><i class="fa fa-circle-o"></i> 所有文章</a></li>
			 <li><a href="<?php echo site_url('article/art_form'); ?>"><i class="fa fa-circle-o"></i> 发布文章</a></li>
			<li><a href="<?php echo site_url('article/searchartform'); ?>"><i class="fa fa-circle-o"></i> 查找文章</a></li>
			<li><a href="<?php echo site_url('article/deletelist'); ?>"><i class="fa fa-circle-o"></i> 回收站</a></li>
          </ul>
        </li>

		<li class="treeview <?php echo isset($siderid)&&$siderid==3?'active':'';?>">
          <a href="#"><i class="fa fa-user"></i> <span>用户管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="<?php echo site_url('admin/manager'); ?>"><i class="fa fa-circle-o"></i> 用户列表</a></li>
            <li><a href="<?php echo site_url('admin/manager_form'); ?>"><i class="fa fa-circle-o"></i> 添加用户</a></li>
          </ul>
        </li>

		<li class="treeview <?php echo isset($siderid)&&$siderid==4?'active':'';?>">
          <a href="#"><i class="fa fa-sticky-note-o"></i> <span>自定义页面</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="<?php echo site_url('articles/addar'); ?>"><i class="fa fa-circle-o"></i> 自定义列表</a></li>
            <li><a href="<?php echo site_url('articles/arlist'); ?>"><i class="fa fa-circle-o"></i> 添加页面</a></li>
          </ul>
        </li>

      </ul>
      <!-- /.sidebar-menu -->
    </section>
    <!-- /.sidebar -->
  </aside>